package com.taxi.management.service;

import com.taxi.management.entity.UserEntity;

import java.util.List;

public interface UserService {
    List<UserEntity> getAllUser();

    UserEntity doLogin(String username, String password);
    UserEntity getUserById(int id);

    int addUser(UserEntity user);

    int updateUser(UserEntity user);

    int deleteUser(int id);

    List<UserEntity> getUserByPage(String username, int start, int limit);

}
